﻿using MediatR;
using PublicCommon;
using T_Material.Domain;

namespace T_Material.Read.API.Application.Commands.RequisitionCommand
{
    public class RequisitionListCommand : IRequest<PageResult<Requisition>>
    {
        public int pageIndex { get; set; }
        public int pageSize { get; set; }

        /// <summary>
        /// 领用人
        /// </summary>
        public string? Recipient { get; set; }

        /// <summary>
        /// 领用日期
        /// </summary>
        public DateTime? RequisitionDate { get; set; }

        /// <summary>
        /// 审批状态
        /// </summary>
        public int? ApprovalStatus { get; set; }

        /// <summary>
        /// 审批人
        /// </summary>
        public string? ApprovedBy { get; set; }

        /// <summary>
        /// 审计状态
        /// </summary>
        public int? AuditState { get; set; }
    }
}
